package com.supreme.nettyapp.generalclient.pingclient.props;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;

@Data
@Configuration
@EnableScheduling
@ConfigurationProperties(prefix = "netty.ping-client")
public class PingClientProps {

    private Boolean enabled;

    private String serverHost;

    private Integer serverPort;
}
